package com.one.common.model.event;

import com.one.common.manager.event.IEvent;

/**
 *
 **/
public class InviteDialogEvent implements IEvent {
    private boolean needCloseDialog;
    private String fromDialog;
    private String related_id;

    private String type;
    private String msg;


    public InviteDialogEvent(String related_id) {
        this.related_id = related_id;
    }

    public InviteDialogEvent(boolean needCloseDialog, String fromDialog, String type) {
        this.needCloseDialog = needCloseDialog;
        this.fromDialog = fromDialog;
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRelated_id() {
        return related_id;
    }

    public void setRelated_id(String related_id) {
        this.related_id = related_id;
    }

    public String getFromDialog() {
        return fromDialog;
    }

    public void setFromDialog(String fromDialog) {
        this.fromDialog = fromDialog;
    }

    public boolean isNeedCloseDialog() {
        return needCloseDialog;
    }

    public void setNeedCloseDialog(boolean needCloseDialog) {
        this.needCloseDialog = needCloseDialog;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
